package com.mtsmda.preparationforjavainterview.jinterview;

public interface InnerClassInnerInInterface {

	public Color getColor();

	public static class Color {
		private Integer red;
		private Integer green;
		private Integer blue;

		public Color() {

		}

		public Color(Integer red, Integer green, Integer blue) {
			setRed(red);
			setGreen(green);
			setBlue(blue);
		}

		public Integer getRed() {
			return red;
		}

		public void setRed(Integer red) {
			this.red = red;
		}

		public Integer getGreen() {
			return green;
		}

		public void setGreen(Integer green) {
			this.green = green;
		}

		public Integer getBlue() {
			return blue;
		}

		public void setBlue(Integer blue) {
			this.blue = blue;
		}

		@Override
		public String toString() {
			return "Color [red=" + red + ", green=" + green + ", blue=" + blue
					+ "]";
		}

	}

}